package com.woniu.outpatient.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 药品库存表对象 drug
 * 
 * @author wolf-six
 * @date 2023-02-15
 */
public class Drug extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long drugId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String drugName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date drugExperis;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long drugCount;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal drugPrice;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long drugtypeId;

    public void setDrugId(Long drugId) 
    {
        this.drugId = drugId;
    }

    public Long getDrugId() 
    {
        return drugId;
    }
    public void setDrugName(String drugName) 
    {
        this.drugName = drugName;
    }

    public String getDrugName() 
    {
        return drugName;
    }
    public void setDrugExperis(Date drugExperis) 
    {
        this.drugExperis = drugExperis;
    }

    public Date getDrugExperis() 
    {
        return drugExperis;
    }
    public void setDrugCount(Long drugCount) 
    {
        this.drugCount = drugCount;
    }

    public Long getDrugCount() 
    {
        return drugCount;
    }
    public void setDrugPrice(BigDecimal drugPrice) 
    {
        this.drugPrice = drugPrice;
    }

    public BigDecimal getDrugPrice() 
    {
        return drugPrice;
    }
    public void setDrugtypeId(Long drugtypeId) 
    {
        this.drugtypeId = drugtypeId;
    }

    public Long getDrugtypeId() 
    {
        return drugtypeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("drugId", getDrugId())
            .append("drugName", getDrugName())
            .append("drugExperis", getDrugExperis())
            .append("drugCount", getDrugCount())
            .append("drugPrice", getDrugPrice())
            .append("drugtypeId", getDrugtypeId())
            .toString();
    }
}
